net: cpsw: Add support to drive gpios for ethernet to be functional
authorVignesh R <[email protected]>
Tue, 2 Aug 2016 04:44:27 +0000 (10:14 +0530)
committerTom Rini <[email protected]>
Mon, 8 Aug 2016 17:32:54 +0000 (13:32 -0400)
commit2e205ef7eb9e7793e922d0b6cd0fe4181309c058
tree8e7d0037527602e72feb703fd028b4b9f9d98cfa
parent06974ea0e3357823d38da0e18921c5ed5fe6d510
net: cpsw: Add support to drive gpios for ethernet to be functional

On DRA72 EVM, cpsw slaves may be muxed with other modules. This
selection is controlled by a pcf gpio line. Add support for cpsw driver
to acquire mode-gpios and select the appropriate slave using gpio APIs.

Signed-off-by: Vignesh R <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Mugunthan V N <[email protected]>
drivers/net/cpsw.c